Skip to content

Conversation

@nataliejameson
Copy link

We ran into an issue recently where the length of classpaths after flipping to bzlmod, with its longer paths, caused failure at runtime because the classpath argument was over the default limits for linux. This just sets the classpath being in a file as the default (and exposes a flag to turn it off). The core functionality was already present.

We were previously using '@' to indicate arg files in the create_image_config program. This was changed to @@ because the entrypoint arguments that are passed in might also start with a single '@' because they are param files meant for the JVM

We ran into an issue recently where the length of classpaths after
flipping to bzlmod, with its longer paths, caused failure at runtime
because the classpath argument was over the default limits for linux.
This just sets the classpath being in a file as the default (and exposes
a flag to turn it off). The core functionality was already present.

We were previously using '@<path>' to indicate arg files in the
create_image_config program. This was changed to @@ because the
entrypoint arguments that are passed in might *also* start with a
single '@' because they are param files meant for the JVM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants